Ext.onReady(
	function hello(){
		Ext.MessageBox.alert("hello","hello extjs!",function(e){
		
			if(e=="ok"){
				document.write("ok");
			}else if(e=="cancel"){
				document.write("cancel");
			}
		});
	}
)